class CarTypeEntity {
	List<CarTypeContent> content;

	CarTypeEntity({this.content});

	CarTypeEntity.fromJson(Map<String, dynamic> json) {
		if (json['content'] != null) {
			content = new List<CarTypeContent>();(json['content'] as List).forEach((v) { content.add(new CarTypeContent.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.content != null) {
      data['content'] =  this.content.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class CarTypeContent {
	String label;
	int value;

	CarTypeContent({this.label, this.value});

	CarTypeContent.fromJson(Map<String, dynamic> json) {
		label = json['label'];
		value = json['value'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['label'] = this.label;
		data['value'] = this.value;
		return data;
	}
}
